package com.qianyue.享元模式;

/**
 * TODO
 *
 * @author qian yue
 * @version v1.0.0
 * @since 2025/2/4 15:45
 */
public class Client {
    public static void main(String[] args) {
        BoxFactory.getInstance().getBox("O").display("黄色");
        BoxFactory.getInstance().getBox("L").display("黑色");
    }
}
